package org.colafries.admin.entity.vo.index;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.colafries.admin.entity.vo.ColafriesBaseVO;
import org.colafries.admin.entity.vo.ColumnRspVO;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * @author Ann
 * @version v1.0
 * @ClassName IndexQueryRspVO
 * @Description
 * @date Created in 2024/6/19
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class IndexQueryRspVO extends ColafriesBaseVO {
    /**
     * 指标查询SQL
     */
    private String querySql;
    /**
     * 查询列
     */
    private List<ColumnRspVO> columns;
    /**
     * 查询结果
     */
    private List<LinkedHashMap<String, Object>> rows;
    /**
     * SQL执行时间(ms)
     */
    private double execTime;
}
